package com.lk.lkappearance.service;

import com.lk.lkappearance.model.Role;

import java.util.Map;

/**
 * @author st
 */
public interface RoleService {


    /**
     * @param role
     * @return
     */
    Map<String,Object> add(Role role);

    /**
     * @return
     */
    Map<String,Object> modify(Role role);

    /**
     * @param roleId
     * @return
     */
    Map<String,Object> delete(String roleId);

    /**
     * 得到权限列表
     * @param role
     * @return
     */
    Map<String,Object> getList(Role role);



}
